package com.common.InterceptorChain;

import java.util.Map;

/**
 * @author 大忽悠
 * @create 2022/9/24 17:47
 */
public class BusinessInterceptorChainFactory {
    public static BusinessInterceptorChain newBusinessInterceptorChain(){
        return new BusinessInterceptorChain();
    }

    public static BusinessContext newBusinessContext(Map<Object,Object> attr){
        BusinessContext businessContext = new BusinessContext();
        businessContext.putAttr(attr);
        return businessContext;
    }
}
